﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DataService
{
    /// <summary>
    /// Summary description for ICacheService
    /// </summary>
    public interface ICacheService<T>
    {
        void Add(string key, T value);
        void Add(T value);
        T GetValue(string key);
        IList<T> GetValues();
        void Remove(string key);
        void RemoveAll();
        void RemoveAllWithKey();
    }
}